Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more E2E tests #27

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

MrBlenny
Copy link
Member

  • Preview CAD
  • Profile Page
  • Pricing poge

@MrBlenny
Copy link
Member Author

@Quantumfishcake Please sir, may I have some more code

it('Should have plan names', () => {
cy.visit(`${url}/pricing`)
cy.get(elByDataTag('pricingColumn')).then((pricingColumns) => {
const wraps = (x: number) => cy.wrap(pricingColumns[x])
Copy link
Member Author

@MrBlenny MrBlenny Sep 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const cyPricingColumns= pricingColumns.map(cy.wrap)
cyPricingColumns[0].contains('Open-source')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants